#include "buttonload.h"
#include "editorpanel.h"

const char * ButtonLoad::NAME = "Load";
const char * ButtonLoad::getName(){return NAME;}

void ButtonLoad::execute()
{
	EditorPanel * ep = (EditorPanel*)getContext();
	ep->load();
	ep->getMasterPanel()->setDirty(0);
}